/**
* @file StaticStreamingSound.h
* @author Max Ocklind
* @version 2010-01-10
**/


#if !defined(STATICSTREAMINGSOUND_H)
#define STATICSTREAMINGSOUND_H


/* includes */

#include "StreamingSound.h"


/* defines */

// sound types
//#define NORMAL_SOUND			 1 in Sound.h
//#define STATIC_SOUND			 2 in StaticSound.h
//#define STREAMING_SOUND		 3 in StreamingSound.h
#define   STATIC_STREAMING_SOUND 4


/* classes */

class StaticStreamingSound : public StreamingSound
{
public:
	/**
	* Default constructor that calls the superclass default constructor.
	*/
	StaticStreamingSound()
		: StreamingSound()
	{
		// intentionally left blank
	} /* StaticStreamingSound() */

	/**
	* Constructor that calls the corresponding superclass constructor.
	*
	* @param source the OpenAL sound source to be used by this <code>StaticSound</code> object
	*/
	StaticStreamingSound(SoundSource source)
		: StreamingSound(source)
	{
		reset(source);
	} /* StaticStreamingSound(SoundSource source) */

	virtual void setProperties(ALfloat* position, ALfloat* velocity, ALboolean loop, ALfloat pitch, ALfloat gain, ALfloat rolloffFactor);
	virtual void reset(SoundSource source);
}; /* StaticStreamingSound */

#endif /* STATICSTREAMINGSOUND_H */